<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="?m=admin&t=main" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 后台首页</a> <a href="#">群组管理</a> <a href="#" class="current">群组信息</a> </div>
  </div>
  <div class="container-fluid"><hr>
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-pencil"></i> </span>
            <h5>群组信息</h5>
          </div>
          <div class="widget-content nopadding">
            <form id="form-wizard" class="form-horizontal" method="post" action="?m=admin&t=saveGroup&id=<{$gvar.fget.id}>">
              <div id="form-wizard-1" class="step">
                <div class="control-group">
                  <label class="control-label">群组名称</label>
                  <div class="controls">
                      <input id="title" type="text" name="title" value="<{$data.title}>"/>
                  </div>
                </div>
                
                <div class="control-group">
                  <label class="control-label">描述</label>
                  <div class="controls">
                    <textarea name="note" cols="" rows=""><{$data.note}></textarea>
                  </div>
                </div>
                
                <{foreach from=$root key=myId item=menu}>
                <div class="control-group">
                  <label class="control-label" style="margin:0px; padding:9px 0 0 0"><{$menu.title}></label>
                  <div class="controls">
                  	<span style=" margin-right:10px;color:green">执行(菜单显示)</span><span><input <{if $menu.check}>checked="checked"<{/if}> name="auth[<{$menu.op}>][execute]" type="checkbox" value="1" style="margin:0px"/></span>
                  </div>
                </div>
                
                    <{foreach from=$menu.menu key=myId_2 item=menu_2}>
                    <div class="control-group">
                      <label class="control-label" style="margin:0px; padding:9px 0 0 0"></label>
                      <div class="controls">
                        <span style=" width:160px; float:left; text-align:right"><{$menu_2.title}>：</span>
                        
                        <{if $menu_2.execute==1}>
                        <span style=" margin-left:10px"><span style=" color:green">菜单(默认页)</span></span>
                        <span><input <{if $menu_2.execute_check}>checked="checked"<{/if}> name="auth[<{$menu_2.op}>][<{$menu_2.task}>][execute]" type="checkbox" value="1" style="margin:0px"/></span>
                        <{/if}>
                        
                        <{if $menu_2.select==1}>
                        <!--<span style=" margin-left:10px"><span style=" color: #00F">查询(列表)</span></span>
                        <span><input <{if $menu_2.select_check}>checked="checked"<{/if}> name="auth[<{$menu_2.op}>][<{$menu_2.task}>][select]" type="checkbox" value="1" style="margin:0px"/></span>-->
                        <{/if}>
                        
                        <{if $menu_2.insert==1}>
                        <span style=" margin-left:10px;color: #60F">新增/修改</span>
                        <span><input <{if $menu_2.insert_check}>checked="checked"<{/if}> name="auth[<{$menu_2.op}>][<{$menu_2.task}>][insert]" type="checkbox" value="1" style="margin:0px"/></span>
                        <{/if}>
                        
                        <{if $menu_2.delete==1}>
                        <span style=" margin-left:10px;color:red">删除</span>
                        <span><input <{if $menu_2.delete_check}>checked="checked"<{/if}> name="auth[<{$menu_2.op}>][<{$menu_2.task}>][delete]" type="checkbox" value="1" style="margin:0px"/></span>
                        <{/if}>
                        
                        <{if $menu_2.other==1}>
                        <span style=" margin-left:10px">其它权限</span>
                        <span><input <{if $menu_2.other_check}>checked="checked"<{/if}> name="auth[<{$menu_2.op}>][<{$menu_2.task}>][other]" type="checkbox" value="1" style="margin:0px"/></span>
                        <{/if}>
                      </div>
                    </div>
                    <{/foreach}>
                    
                <{/foreach}>                
              </div>

              <div class="form-actions">
                <input id="next" class="btn btn-primary" type="submit" value="保存" />
                <div id="status"></div>
              </div>
              <div id="submitted"></div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>